<?php
/**
 * Created by PhpStorm.
 * User: alexey
 * Date: 5/18/14
 * Time: 3:38 PM
 */

namespace controller;

include_once("controller/ActionParser.php");
include_once("controller/ActionFinder.php");


class ReleasedActionFinder extends ActionFinder
{

  function initActions()
  {
    $fileName = "cnf/controller-actions-mapping.properties";
    $file = file($fileName);
    self::$actionMap = ActionParcer::parseActions($file);
  }

  function initRedirect(){
    $fileName = "cnf/controller-actions-mapping.properties";
    $file = file($fileName);
    self::$redirectMap = ActionParcer::parseRedirect($file);
  }
} 